import ErrorMessage from './ErrorMessage'
import Loading from './Loading'
import Pagination from './Pagination'
import Header from './Header'
import Footer from './Footer'
import TypeNav from './TypeNav'

const components = [
    ErrorMessage,
    Loading,
    Pagination,
    Header,
    Footer,
    TypeNav
]

const install = Vue => {
    components.forEach(component => {
        Vue.component(component.name, component)
    })
}

export default {
    install
}